<!--
 * @Author: chen qi
 * @Date: 2022-07-10 00:37:10
 * @LastEditors: chen qi
 * @LastEditTime: 2022-07-11 17:19:56
 * @Description:
-->
<template>
  <div class="right-middle-superposition-bar-chart">
    <borderBox>
      <slot name='title'>
        <div class="title">柱状示例</div>
      </slot>
      <!-- 数据获取 -->
      <superpositionBarChart />
    </borderBox>
  </div>
</template>

<script>
import commonMixin from '@/utils/mixin'
export default {
  name: 'rightMiddleSuperpositionBarChart',
  mixins: [commonMixin],
  provide() {
    return { chartInstance: this }
  },
  data() {
    return {}
  }
}
</script>

<style lang="less" scoped>
.right-middle-superposition-bar-chart {
  position: fixed;
  left: 0;
  top: 0;
  width: 738px;
  height: 383px;
  z-index: 1;
  .title {
    position: absolute;
    left: 20px;
    top: 10px;
    color: #fff;
    font-size: 20px;
     z-index: 1;
  }
}
</style>
